﻿using System;
using KPIS.GERP.GIMS.MODEL;
using System.Collections.Generic;
using KPIS.DBM;

namespace KPIS.GERP.GIMS.IDAL
{
    public interface IDALMasterWarehouseConsume
    {
        IList<MasterWarehouseConsumeInfo> GetMasterWarehouseConsume();
        IList<MasterWarehouseConsumeInfo> GetMasterWarehouseConsume(string record_status);
        MasterWarehouseConsumeInfo GetMasterWarehouseConsume(int seq);
        IList<MasterWarehouseConsumeInfo> GetMasterWarehouseConsumeWithParent(int warehouse_seq);
        void Insert(IList<MasterWarehouseConsumeInfo> infoList);
        void Insert(IList<MasterWarehouseConsumeInfo> infoList, int warehouse_seq, IDBManager dbManagerTrans);
        void Update(MasterWarehouseConsumeInfo info);
        void Delete(MasterWarehouseConsumeInfo info);
        void DeleteAll(IList<MasterWarehouseConsumeInfo> infoList);
        void DeleteFromDB(IList<MasterWarehouseConsumeInfo> infoList);
        void Restore(IList<MasterWarehouseConsumeInfo> infoList);
    }
}
